//
//  ICLcbButtonLayout.h
//  ICome
//
//  Created by Administrator on 2016/12/15.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_OPTIONS(NSUInteger, ICLcbBorderMask){
    ICLcbBorderMaskNone = 0,
    ICLcbBorderMaskTop = 1<<0,
    ICLcbBorderMaskBottom = 1<<1,
    ICLcbBorderMaskLeft = 1<<2,
    ICLcbBorderMaskRight = 1<<3,
};


typedef struct ICLCBTitleRect TitleRect;

@interface ICLcbButtonLayout : UIButton


@property (nonatomic , strong)NSDictionary * dict;

+(instancetype)buttonWithType:(UIButtonType)buttonType withFrame:(CGRect)frame  withEventWithName:(NSString *)eventNameStr withClick:(NSString*)routingStr;

-(void)setTextFont:( UIFont *)font TextColor:(UIColor *)color TextAlignment:(NSTextAlignment)textAlignment;

-(void)setImageFrame:(CGRect)frame;

-(void)setTitleFrame:(CGRect)frame;
-(void)setBorder:(ICLcbBorderMask)mask;

@end
